<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="css/eui.css">
  <style>
    .c1{
      border: 1px solid red;
      border-radius: 5px;
    }
   #app{
     width: 1200px;
     /*margin: 0 auto;*/
   }
  </style>
</head>
<body>
<div id="app">
<!--讲一行划分为两等分 row行 col列-->
  <el-row>
    <el-col :span="12"  ><div class="c1">占12</div></el-col>
    <el-col :span="12"  ><div class="c1">占12</div></el-col>
  </el-row>
  <!--讲一行划分为三等分 row行 col列 gutter每一份直接的间距-->
  <el-row gutter="10">
    <el-col :span="8"  ><div class="c1">占12</div></el-col>
    <el-col :span="8"  ><div class="c1">占12</div></el-col>
    <el-col :span="8"  ><div class="c1">占12</div></el-col>
  </el-row>
  <!--讲一行划分为四等分 row行 col列-->
  <el-row>
    <el-col :span="6"  ><div class="c1">占12</div></el-col>
    <el-col :span="6"  ><div class="c1">占12</div></el-col>
    <el-col :span="6"  ><div class="c1">占12</div></el-col>
    <el-col :span="6"  ><div class="c1">占12</div></el-col>
  </el-row>
  <h1>分栏偏移</h1>
  <el-row>
    <!--offset设置偏移 数量起到左右对称-->
    <el-col :span="20" offset="2" ><div class="c1">占12</div></el-col>
  </el-row>
</div>
</body>
<!-- import Vue before Element  引入vue框架文件 vue要在前面-->
<script src="js/vue.js"></script>
<!-- import JavaScript element-ui框架文件 -->
<script src="js/eui.js"></script>
<script>
  let v = new Vue({
    el: '#app',
    data: function() {
      return {

      }
    }
  })
</script>
</html>